package cn.lanqiao.pet;

public class AgeException extends Exception {

	private String message;

	public AgeException(int age){
		message = "年龄设置为：" + age + "不合理!";
	}

	public String toString(){
		return message;
	}
}
